package org.example.result;
public enum ResultEnum {

    SUCCESS("1", "成功"),
    ERROR("-1", "失败"),
    NOT_LOGIN("-2","用户未登陆或登陆已失效"),
    OTHERPLACE_LOGIN("-3","用户已在其他地方登录"),
    WAIT("0", "正在处理结果");


    private String code;

    private String msg;

    ResultEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}